func net/http.http2asciiEqualFold
19 uses
net/http (current package)
h2_bundle.go#L62: func http2asciiEqualFold(s, t string) bool {
h2_bundle.go#L6527: if http2asciiEqualFold(k, "content-length") ||
h2_bundle.go#L6528: http2asciiEqualFold(k, "content-encoding") ||
h2_bundle.go#L6529: http2asciiEqualFold(k, "trailer") ||
h2_bundle.go#L6530: http2asciiEqualFold(k, "te") ||
h2_bundle.go#L6531: http2asciiEqualFold(k, "expect") ||
h2_bundle.go#L6532: http2asciiEqualFold(k, "host") {
h2_bundle.go#L7782: if vv := req.Header["Connection"]; len(vv) > 0 && (len(vv) > 1 || vv[0] != "" && !http2asciiEqualFold(vv[0], "close") && !http2asciiEqualFold(vv[0], "keep-alive")) {
h2_bundle.go#L8492: if http2asciiEqualFold(k, "host") || http2asciiEqualFold(k, "content-length") {
h2_bundle.go#L8496: } else if http2asciiEqualFold(k, "connection") ||
h2_bundle.go#L8497: http2asciiEqualFold(k, "proxy-connection") ||
h2_bundle.go#L8498: http2asciiEqualFold(k, "transfer-encoding") ||
h2_bundle.go#L8499: http2asciiEqualFold(k, "upgrade") ||
h2_bundle.go#L8500: http2asciiEqualFold(k, "keep-alive") {
h2_bundle.go#L8506: } else if http2asciiEqualFold(k, "user-agent") {
h2_bundle.go#L8519: } else if http2asciiEqualFold(k, "cookie") {
h2_bundle.go#L9047: if cs.requestedGzip && http2asciiEqualFold(res.Header.Get("Content-Encoding"), "gzip") {